export default [
    {
        path: '/',
        redirect: '/news'
    },
    {
        // 我的
        path: '/home',
        component: function (resolve) {
            require(['./components/home.vue'], resolve)
        }
    },
    {
        // 日记
        path: '/diary',
        component: function (resolve) {
            require(['./components/diary.vue'], resolve)
        }
    },
    {
        // 新增日记
        path: '/addDiary',
        component: function (resolve) {
            require(['./components/addDiary.vue'], resolve)
        }
    },
    {
        // 新闻
        path: '/news',
        component: function (resolve) {
            require(['./components/news.vue'], resolve)
        }
    },
    {
        // 新闻
        path: '/lookNews',
        component: function (resolve) {
            require(['./components/lookNews.vue'], resolve)
        }
    },
    {
        // 足迹
        path: '/footprint',
        component: function (resolve) {
            require(['./components/footprint.vue'], resolve)
        }
    },
    {
        // 足迹
        path: '/lookFootprint',
        component: function (resolve) {
            require(['./components/lookFootprint.vue'], resolve)
        }
    },
    {
        // 笔记
        path: '/note',
        component: function (resolve) {
            require(['./components/note.vue'], resolve)
        }
    },
    {
        // 笔记
        path: '/lookNote',
        component: function (resolve) {
            require(['./components/lookNote.vue'], resolve)
        }
    }
]
